/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      开关      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-ShowSwitch,
.CoreBody .CoreWeb-FormSwitch {
  /* ============================== 显示文本 ============================== */
  &-showText {
    height: 24px;
    line-height: 24px;

    .el-switch__core {
      height: 24px;
      line-height: 24px;
      border-radius: 40px;

      &:after {
        border-radius: 100%;
        width: 20px;
        height: 20px;
      }
    }

    .el-switch__label {
      display: block;
      position: absolute;
      z-index: 10;
      width: 100%;
      height: 24px;
      margin: 0;
      padding: 0 0 0 16px;
      box-sizing: border-box;
      text-align: center;
      pointer-events: none;
      user-select: none;
    }

    .el-switch__label--left {
      opacity: 1;
      color: var(--Black8);
    }

    .el-switch__label--right {
      opacity: 0;
      color: var(--White);
    }

    &.is-checked {
      .el-switch__core:after {
        margin-left: -21px;
      }

      .el-switch__label {
        padding: 0 16px 0 0;
      }

      .el-switch__label--left {
        opacity: 0;
      }

      .el-switch__label--right {
        opacity: 1;
      }
    }
  }
}
